{% extends "template/listEdit.volt" %}

{% block title %}监控用户管理{% endblock %}


{% block filter %}
    <div class="col-md-4 col-sm-6">
        <table>
            <tr><th>登录手机号:</th><td><input type="text" name="login_phone" value=""></td></tr>
            <tr><th>部门名称:</th><td><input type="text" name="dept_name"  value=""></td></tr>
            <tr><th></th><td></td></tr>
        </table>
    </div>
    <div class="col-md-4 col-sm-6">
        <table>
            <tr><th>姓名:</th><td><input type="text" name="real_name" value=""></td></tr>
            <tr>
                <th>加入时间:</th>
                <td><input type="date-h" name="created_at_start" value="" data-attr="date">-<input name="created_at_end" type="date-h" id="flight-date-end" class="end" data-attr="date right"></td>
            </tr>
            <tr><th></th><td></td></tr>
        </table>
    </div>
    <div class="col-md-4 col-sm-6">
        <table>
            <tr><th>联系方式:</th><td><input type="text" name="contact_info"  value=""></td></tr>
            <tr><th></th><td></td></tr>
            <tr><th></th><td></td></tr>
            <tr>
                <td colspan="2">
                    <div id="btn_reset_param" class="btn-0 button">清 空</div>
                    <div id="btn_search_data" class="btn-1 button">过 滤</div>
                </td>
            </tr>
        </table>
    </div>
{% endblock %}

{% block hiddenOperation %}hidden{% endblock %}
{% block jscontent %}
    <script>

        $(function () {

            PageDataProxy.init({
                "action_detail_url":"/subsystem/monitorDetail",
                "url": "/subsystem/monitorList",
                "table_id":"#mytable",
                "page_control_id":"#data-wrap",
                "page_size_id":"#rows-perpage-select",
                "page_total_id":"#data_count_total",
                "use_check_box":true,
                "data_field_process":function(name,value){
                    if(name=="company"){
                        return PageDataProxy.formatShortContent(value,18);
                    }
                    return value;
                },
                "table_style":{
                    "id":"",
                    "login_phone":"width-m",
                    "nickname":"width-m",
                    "phone":"width-m",
                    "company":"width-b",
                    "created_at":"width-m"
                },
                "data_field_action_process": function (tag) {
                    return "<td onclick=PageDataProxy.actionDetail('userid=" + tag + "')><img class='action-show-icon'>详细</td> <td onclick=PageDataProxy.actionDelete('user_id','" + tag + "')><img class='action-del-icon'>删除</td>";
                },
            });


        });


    </script>
{% endblock %}







